package com.lj.mcore.service;

import com.lj.mcore.entity.Address;
import com.lj.mcore.entity.Area;

import java.util.List;
import java.util.Map;

public interface IAreaService {

    public static final String AREA_LIST = "from Area obj where obj.deleteStatus = false and obj.level = 0 order by obj.sequence asc";

    public abstract boolean save(Area obj);

    public abstract boolean delete(Area obj);

    public abstract boolean update(Area obj);

    public abstract Area getObjById(Long id);

    public abstract List<Area> query(String hql, Map paramMap, int paramInt1, int paramInt2);

}
